<template>
	<view class="orderitem_styles">
		<image :src="item.icon" mode="" class="orderitem_styles_image"></image>
		<view class="orderitem_styles_main">
			<view class="orderitem_styles_title">{{item.title}}</view>
			<view class="orderitem_styles_item"><view>订单编号:</view>{{item.no}}</view>
			<view class="orderitem_styles_item"><view>交易内容:</view>{{item.main}}</view>
			<view class="orderitem_styles_item"><view>交易日期:</view>{{item.date}}</view>
			<view class="orderitem_styles_item"><view>金额:</view>{{item.sale}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"OrderItem",
		props:["item"],
		data() {
			return {
				
			};
		}
	}
</script>

<style>

	.orderitem_styles {
		width: 100%;
		padding: 10rpx 20rpx;
		display: flex;
		flex-wrap: nowrap;
		margin-bottom: 30rpx;
	}
	
	.orderitem_styles_image {
		width: 200rpx;
		height: 200rpx;
	}
	
	.orderitem_styles_main {
		box-sizing: border-box;
		padding: 0 20rpx;
	}
	
	.orderitem_styles_title {
		font-size: 16px;
		font-weight: 600;
	}
	
	.orderitem_styles_item {
		width: 100%;
		display: flex;
		font-size: 12px;
		margin-top: 20rpx;
	}
	.orderitem_styles_item > view:first-child {
		width: 120rpx;
	}
</style>
